part of '../../lexical_item.dart';

enum LearningEvent {
  markedAsUnknown,
  markedAsRemembered,
  markedAsUnremembered,
  markedAsBadlyRemembered,
  markedAsCompletelyLearned,
  addedToLearningQueue;

  bool get isMarkedAsUnknown => this == LearningEvent.markedAsUnknown;

  bool get isMarkedAsRemembered => this == LearningEvent.markedAsRemembered;

  bool get isMarkedAsUnremembered => this == LearningEvent.markedAsUnremembered;

  bool get isMarkedAsBadlyRemembered => this == LearningEvent.markedAsBadlyRemembered;

  bool get isMarkedAsCompletelyLearned => this == LearningEvent.markedAsCompletelyLearned;

  bool get isAddedToLearningQueue => this == LearningEvent.addedToLearningQueue;
}